ISnapshotStorage

StockSharp.Algo.Storages

即时价格存储访问的界面.

实现: ISnapshotStorage

方法

Clear
public void Clear(TKey key)
iSnapshotStorage.Clear(key)

删除指定的密钥快照 。

key
钥匙
Get
public TMessage Get(TKey key)
result = iSnapshotStorage.Get(key)

获取指定密钥的快照 。

key
钥匙

返回值: 即时快照.

GetAll
public IEnumerable<TMessage> GetAll(DateTime? from, DateTime? to)
result = iSnapshotStorage.GetAll(from, to)

获取所有快照。

from
起始日期,需要从中检索数据.
to
结束日期, 直至需要检索数据为止 。

返回值: 所有快照 都给我